#pragma once

BOOL AdjustPrivilege(LPCTSTR Privilege);
BOOL Is64Bit(void);
void GetModuleFilePath(HMODULE hModule, LPWSTR szFilePath, DWORD cbSize);
BOOL NewWow64DisableWow64FsRedirection(PVOID *v);
BOOL NewWow64RevertWow64FsRedirection(PVOID v);
LPCTSTR ExtractFileName(LPCTSTR szPath);
__time64_t FileTimeToUnixTime(FILETIME *ft);
void WriteLog(LPCWSTR fmt, ...);